#include <proto/utility.h>
LONG AttemptRemNamedObject()
SYNOPSIS
struct NamedObject * object
LOCATION
In UtilityBase at offset 39
FUNCTION
Checks to see whether a NamedObject can be removed. If the object
is in use, or in the process of being removed, this function will
return a failure code. If the object can be removed, this function
will remove it and the object will be available for freeing.
You must have previously have called FindNamedObject() on this
object.
INPUTS
object
NamedObject to attempt to remove. The address of the
NameSpace is contained within the NamedObject.
RESULT
If the NamedObject can be removed, then it will be removed from
the list. Otherwise the routine will just return.
If the NamedObject has a removal message associated with it that
message will be returned to the owner of the NamedObject.